/**
 * User: Nightink
 * Date: 13-6-6
 * Time: 下午10:43
 * 路由调度入口
 * 路由映射控制器
 */
var demoController = require('../controllers/demoController');

console.log('Debug: load routes');

module.exports = function(app) {

  app.get('/', function(req, res) {
    res.send('Hello world');
  });

  app.get('/demo', demoController.demo);

};